home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
prog_d
/
adsavfrm.zip
/
SAVEFRM.HIS
< prev
next >
Wrap
Text File
|
1996-01-09
|
2KB
|
35 lines
TAdrockFormPosition History File.
=================================
21-Sep-95 V1.00 - Released to Compuserve, included Help File, KWF File for
Delphi, SAVEFRM.DCU, SAVEFRM.DCR
2-Oct-95 V1.10 - Now saves the maximized state of the form. Previously would
not restore a maximized form.
Correct a bug if the form was saved partilly off screen. Will
now restore the form even if partially off screen.
27-Nov-95 V1.20 - Corrected a bug where the section name was ignored and the form's caption
was used to produce the name of the section in the .INI file.
9-Jan-96 V1.30 - Some people wanted the ability to set the INI filename as runtime so that
they could use the installed path of the program to store the INI file.
You now can set the name of the INI file and SectionName at runtime and
then call ReadIniFileSettings to retreive the ini file settings.
{ To load the settings and restore the size /position of the form at run time }
AdrockFormPosition1.IniFile := 'c:\tmp1.Ini';
AdrockFormPosition1.SectionName := 'Christopher';
AdrockFormPosition1.ReadIniFileSettings;
You can also now save the INI file settings at any time as long as the INI filename
and the Section name is filled in.
{ To Save the size and position of the form at run time }
AdrockFormPosition1.IniFile := 'c:\tmp1.Ini';
AdrockFormPosition1.SectionName := 'Christopher';
AdrockFormPosition1.WriteIniFileSettings;